//==============================================================================
// Hoplite_Anim.txt
//==============================================================================

//==============================================================================
define LargeGreekShield
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Greek Shield
	    ReplaceTexture Attachments G Shield Copper/Phalanx Shield
         }
      }
   }
}


//==============================================================================
define Spear
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Sarissa
         }
      }
   }
}


//==============================================================================
define Head
{
   SetSelector
   {
      Variationlogic
      set hotspot
      {
         version
         {
            Visual Macedonian Head
		ReplaceTexture Infantry G Hoplite Head Bronze/Phrygian Helmet
		}
	}
      set hotspot
      {
         version
         {
            Visual Thracian Helmet
		ReplaceTexture Infantry G Hoplite Head Bronze/Hastati Helmet
		}
	}
      set hotspot
      {
         version
         {
            Visual Illyrian Helmet
		ReplaceTexture Infantry G Hoplite Head Bronze/Hastati Helmet
		}
	}
      set hotspot
      {
         version
         {
            Visual Prodromos Helmet
		ReplaceTexture Infantry G Hoplite Head Bronze/Hastati Helmet
         }
      }
   }
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
			VariationLogic
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_idleA
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
			VariationLogic
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_WalkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
			VariationLogic
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_AttackA
						tag Attack 0.61 true   
                  tag GenericSound 0.40 true 
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      VariationLogic
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor2
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      VariationLogic
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor2
         }
      }
   }
}

//==============================================================================
anim Cinematic
{
   SetSelector
   {
      		VariationLogic
		set hotspot
      {
         name 1
         version
         {
					Visual Special Phalanx_IdleA
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleA
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
         }
		}
		set hotspot
      {
         name 2
         version
         {
					Visual Special Phalanx_IdleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
         }
		}
		set hotspot
      {
         name 3
         version
         {
					Visual Special Phalanx_Idled
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_Idled
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
         }
		}
		set hotspot
      {
         name 4
         version
         {
					Visual Special Phalanx_IdleE
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleE
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
         }
      }
   }
}
